package com.eva.learn.other;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * Created by evain on 15/8/8.
 */
public class HashMapTest {
//    public static void main(String[] args) {
//        Map<String ,String> map1 = new HashMap<>();
//        System.out.println(map1.put(new String("a"), "a"));
//        System.out.println(map1.put(new String("a"), "a"));
//        System.out.println(map1.put(new String("a"), "b"));
//        System.out.println(map1.put(new String("a"), "b"));
//        System.out.println(map1.size());
//        System.out.println(map1.get("a"));
////        Set<Long> sets = new HashSet<Long>();
////        System.out.println(sets.add(1l));
////        System.out.println(sets.add(1l));
//
//
//        System.out.println();
//        String s1 = "laotest1@163.com|aaa";
//        String[] s = s1.split("\\|");
//        for (String temp:s){
//            System.out.println(temp);
//        }
//    }
}
